package dao;

import entity.Book;

import java.sql.SQLException;
import java.util.List;

public interface BookDao {

    List<Book> findByPage(int pageIndex, int pageSize) throws SQLException;

    Integer getTotalCount() throws SQLException;

}
